<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script src="../jslib/jquery-1.8.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../jslib/jquery-easyui-1.3.1/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<link type="text/css" rel="stylesheet" href="../jslib/jquery-easyui-1.3.1/themes/icon.css" />
<link type="text/css" rel="stylesheet" href="../jslib/jquery-easyui-1.3.1/themes/gray/easyui.css" />
<link type="text/css" rel="stylesheet" href="../jslib/jquery-easyui-1.3.1/locale/easyui-lang-zh_CN.js" />

<script charset="utf-8">
	var loginDialog;
	$(function(){
		loginDialog = $("#loginDialog").dialog({
			closeables : false,
			modal:true,
			buttons : [{
				text:"登陆",
				handler:function(){}
				},{
				text:"注册",
				handler:function(r){
						if(r && r.success)
						{
							loginDialog.dialog('close')	;
						}
						else
						{
							$.messager.show({
								title:'title',
								msg:'login false',
								showType:'slide'
								});
						}
					}
				}]
			});
		});

</script>
</head>


<body>
<div id="loginDialog" title="用户登陆" style="width:200px;height:100px;"></div>
</body>
</html>
